Component: TColourListBox
Version: 1.0
Author: Stefan Wloch
Date: 4 March 1997
Delphi 2, not tested in Delphi 1

This package contains a Delphi component named TColourListBox. It enables you to set a colour for each item within the list box.

You may use this component in your own projects as you wish.

The component was designed to be easy to use, so I didn't bother to write a help.

To change the colour of an item within the list box, simply program the colour as:-

		ColourListBox1.ItemColour[x]:=TColor;

where x is the listbox index of the item that you wish the colour to be changed.

example:
		x:=ColourListBox1.Items.Add('RED');
		ColourListBox1.ItemColour[x]:=clRed;

You may use any colour and any number of colours within a TColourListBox

----------------------------------------------------------------

Installation

Backup your 'cmplib32.dcl' file as a precaution.
Select 'Component', 'Install'.
Select 'Add', 'Browse'.
Select the directory containing the TColourListBox files.
Select 'ColourListBox.PAS' and click OK on each box that appears.
The TColourListBox controls will be added to the 'Standard' page of your component toolbar.

If anything goes wrong, restore your backed-up cmplib32.dcl and try
again after correcting any obvious problems.

-----------------------------------------------------------------

Demo Application

Demo1.pas is a quick and simple demo of the TColourListBox component.


All the best,
Stefan Wloch